<%-- 
  HelloWorld no-detail-success.jsp
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib uri="/struts-tags" prefix="s" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Hello Struts</title>
    </head>
    <body>
        <h1>Hello with more details</h1>
        <h1><s:property value="message" /></h1>
        <h1>The time now is</h1>
        <h1><s:property value="detail" /></h1>
        
        <b>Array Usage Examples</b>

				<hr>
				<b>sampleArray :</b> <s:property value="sampleArray"/> 
				<b>sampleArray.length :</b> <s:property value="sampleArray.length"/> 
				<b>sampleArray[0] :</b> <s:property value="sampleArray[0]"/> 
				<b>[0].sampleArray :</b> <s:property value="[0].sampleArray"/> 
				<b>top.sampleArray :</b> <s:property value="top.sampleArray"/> 

				<b>List Usage Examples</b>
				<hr>
				<b>sampleList :</b> <s:property value="sampleList"/> 
				<b>sampleList.size :</b> <s:property value="sampleList.size"/> 
				<b>sampleList[0] :</b> <s:property value="sampleList[0]"/>
 
				<b>Map Usage Examples</b>
				<hr>
				<b>sampleMap[1] :</b> <s:property value="sampleMap[1]"/> 
				<b>sampleMap.size :</b> <s:property value="sampleMap.size"/> 

        <b>Accessing objects</b>
        <hr>
        <b>car.name :</b> <s:property value="car.name"/>
        
        <b>Invoking methods</b>
        <hr>
        <b>hello() :</b> <s:property value="hello()"/> 
    </body>
</html>
